package com.hnas.ecard.dao;

import java.util.List;

import com.hnas.core.dao.BaseDao;
import com.hnas.ecard.orm.Commodit;
import com.hnas.ecard.service.dto.DTOCommodit;
import com.hnas.ecard.service.search.DTOCommoditSearch;

public interface CommoditDao extends BaseDao<Commodit>{

	Commodit saveOrUpdate(DTOCommodit vo) throws Exception;

	List<Commodit> pageByMrchId(DTOCommoditSearch criteria);

	boolean deleteById(String id);
}
